import { createStore } from 'vuex'

export default createStore({
  state: {
    color: 'red'
  },
  mutations: {
    changeColor(state) {
      state.color = '#' + Math.random().toString(16).substr(2, 6);
    }
  },
  actions: {
  },
  modules: {
  }
})
